package com.nyist.entity;

import java.io.Serializable;

import org.springframework.data.elasticsearch.annotations.Document;

//indexName必须为小写,type大小写都可以
@Document(indexName = "test", type = "goods")
public class GoodsInfo implements Serializable{

	private Long id;
	
	private String name;
	
	private String describe;

	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getName() {
		return name;
	}

	public void setName(String name) {
		this.name = name;
	}

	public String getDescribe() {
		return describe;
	}

	public void setDescribe(String describe) {
		this.describe = describe;
	}

	public GoodsInfo(Long id, String name, String describe) {
		super();
		this.id = id;
		this.name = name;
		this.describe = describe;
	}

	public GoodsInfo() {
		super();
	}

}
